import {
	req
} from '../../utils/req.js';
export default {
	// 会员首页
	index(param) {
		return req.get("memberdiscount/app/IndexCard/cardList", param)
	},
	// 获取卡券优惠
	cardDiscount(param) {
		return req.get("memberdiscount/app/IndexCard/cardDiscount", param)
	},
	// 购买会员卡
	payOrder(param) {
		return req.post("memberdiscount/app/IndexCard/payOrder", param)
	},
	// 分享码
	coachMemberDiscountQr(param) {
		return req.get("massage/app/IndexCoach/coachMemberDiscountQr", param)
	},
	// 交易记录
	orderList(param) {
		return req.get("memberdiscount/app/IndexCard/orderList", param)
	},
	// 交易详情
	orderInfo(param) {
		return req.get("memberdiscount/app/IndexCard/orderInfo", param)
	},
}